package com.scwatch.core.service;

import com.scwatch.common.orm.RowSide;
import com.scwatch.core.domain.ProgramDatecheack;
import com.scwatch.core.domain.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.Map;

/**
 * Created by rh006 on 2017/7/26.
 */
public interface ProgramDatecheckService {


    public Page<ProgramDatecheack> findAll(Map<String, String[]> params,
                                           Pageable pageable);

    public RowSide<ProgramDatecheack> findSide(Map<String, String[]> params,
                                               ProgramDatecheack bean, Integer position, Sort sort);

   /* public List<Program> getList();*/

    public ProgramDatecheack get(Integer id);

   /* public String replace(String s);*/

    public ProgramDatecheack save(ProgramDatecheack bean, Integer siteId, User user);

    public ProgramDatecheack update(ProgramDatecheack bean);

    public ProgramDatecheack delete(Integer id);

    public ProgramDatecheack[] delete(Integer[] ids);

    public Page<ProgramDatecheack> findAllByProgramBackId(Integer id, Map<String, String[]> params, Pageable pageable);

}
